import request from '@/utils/request'

// 查询客户信息列表
export function listCustomer_info(query) {
    return request({
        url: '/bizsys/customer_info/list',
        method: 'get',
        params: query
    })
}

// 查询客户信息详细
export function getCustomer_info(id) {
    return request({
        url: '/bizsys/customer_info/' + id,
        method: 'get'
    })
}

// 新增客户信息
export function addCustomer_info(data) {
    return request({
        url: '/bizsys/customer_info',
        method: 'post',
        data: data
    })
}

// 修改客户信息
export function updateCustomer_info(data) {
    return request({
        url: '/bizsys/customer_info',
        method: 'put',
        data: data
    })
}

// 删除客户信息
export function delCustomer_info(id) {
    return request({
        url: '/bizsys/customer_info/' + id,
        method: 'delete'
    })
}

// 导出客户信息
export function exportCustomer_info(query) {
    return request({
        url: '/bizsys/customer_info/export',
        method: 'get',
        params: query
    })
}